package com.hong.springcloud.service;

import com.hong.springcloud.entity.Product;

import java.util.List;

/**
 * Created by John on 2018/11/25.
 */
public interface ProductService {
    Product get(Long id);
    List<Product> list();
    int add(Product product);
}
